<template>
  <div class="right-chart-2">
    <!-- <div class="rc1-header">可变内容列表</div> -->
    <dv-scroll-board :config="config" />
  </div>
</template>

<script>
export default {
  name: "RightChart2",
  data() {
    return {
      config: {
        header: ["车牌号", "车辆类型", "违章情况", "记录时间"],
        data: [
          [" ", "救护车", "正常", " "],
          [" ", "警车", "正常", " "],
          [" ", "消防车", "正常", " "],
          [" ", "家用轿车", "路口变道", " "],
          [" ", "货车", "闯红灯", " "],
          [" ", "公交车", "未礼让行人", " "],
          [" ", "套牌车辆", "未按车道行驶", " "],
          [" ", "漏检车辆", "正常", " "],
          [" ", "改装车", "正常", " "],
          [" ", "工程车", "正常", " "],
        ],
      },
    };
  },
};
</script>

<style lang="less">
.right-chart-2 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

  .rc1-header {
    font-size: 24px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
  }

  .rc1-chart-container {
    flex: 1;
    display: flex;
  }

  .left {
    width: 30%;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .number {
      font-size: 34px;
      color: #096dd9;
      font-weight: bold;
      margin-bottom: 30px;
    }
  }

  .right {
    flex: 1;
    padding-bottom: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
}
</style>
